package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Shop;

import java.util.List;

public interface IShopService {
    void saveShopCatOrder(Long articleId, int number, int totalCost);

    //查询购物车中的商品
    Shop selectShopCatByUserIdAndArticleId(Long userId, Long articleId);

    //订单确认结算
    void resultShopCatOrder(Long articleId, Integer resultCost);

    //查询购物车商品
    List<Shop> getArticleDetailByUserId(Long userId);

    List<Shop> getArticleByUserId(Long userId);

}
